package com.allwees.core.common.parser.el;

import lombok.Getter;

import java.lang.reflect.Method;

@Getter
class ParseExpressionRootObject {

    private final Method method;

    private final Object[] args;

    private final Object target;

    private final Class<?> targetMethodClass;

    private final Class<?> targetClass;

    public ParseExpressionRootObject(Method method, Object[] args, Object target, Class<?> targetMethodClass, Class<?> targetClass) {

        this.method = method;
        this.target = target;
        this.targetClass = targetClass;
        this.targetMethodClass = targetMethodClass;
        this.args = args;
    }
}
